 
 plot (1:300, generalizationExpSignals(1:300, 1), "g")
 hold on
 plot (1:300, outputsGen(1:300))
print("fig1.png");
 hold off
 plot (300:500, outputsGen(300:500))
 hold on
 plot (300:500, generalizationExpSignals(300:500, 2), "g")
print("fig2.png");
 hold off
 plot (500:700, outputsGen(500:700))
 hold on
 plot (500:700, generalizationExpSignals(500:700, 2), "g")
print("fig3.png");
 hold off
 plot (700:900, outputsGen(700:900))
 hold on
 plot (700:900, generalizationExpSignals(700:900, 2), "g")
print("fig4.png");
